#include <rtthread.h>
#include "lfs_if.h"
static void rm(int argc, char**argv)
{
  if (argc < 2)
  {
    rt_kprintf("Please input'rm file_path'\n");
    return;
  }
  if(file_remove(argv[1]) < 0)
    rt_kprintf("remove %s faild.\n", argv[1]);
}
MSH_CMD_EXPORT(rm, remove file);
